<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<script src="resources/js/jquery.js"></script>
		<script>
		$(function(){
			$("button").click(function(){
				$.ajax({
					url:"show2.do",
					type:"post",
					data:{
						"bh":$(".source").val()
					}
				});
			});
		});
		</script>
	</head>
	<body>
		<input type="text" class="source" />
		<button>submit</button>
	</body>
</html>